package com.ruoyi.security.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.system.api.domain.SysFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 安全教育对象 omp_af_safety_education
 *
 * @author Felix
 * @date 2021-10-12
 */
@Data
@ApiModel
public class AfSafetyEducation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 培训主题 */
    @Excel(name = "培训主题")
    @ApiModelProperty(value = "培训主题")
    private String trainingName;

    /** 培训时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "培训时间")
    private Date trainingTime;

    /** 培训地点 */
    @Excel(name = "培训地点")
    @ApiModelProperty(value = "培训地点")
    private String trainingAddress;

    /** 讲师 */
    @ApiModelProperty(value = "讲师")
    private String lecturer;

    /** 参加对象 */
    @ApiModelProperty(value = "参加对象")
    private String participant;

    /** 培训内容 */
    @ApiModelProperty(value = "培训内容")
    private String trainingContent;


    /** 附件id集合 */
    @Excel(name = "附件id集合")
    @ApiModelProperty(value = "附件id集合")
    private List<Long> fileIdList;

    /** 附件集合 */
    @Excel(name = "附件集合")
    @ApiModelProperty(value = "附件集合")
    private List<SysFile> fileList;


    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @ApiModelProperty(value = "租户Id")
    private String tenantId;


}
